package com.itaem.community.modules.infrastructure.company.department.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.itaem.community.core.entity.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 物业部门
 * </p>
 *
 * @author tomato
 * @since 2020-10-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("department")
@ApiModel(value="DepartmentEntity对象", description="物业部门")
public class DepartmentEntity extends Entity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "物业部门名")
    private String departmentName;

    @ApiModelProperty(value = "所属物业公司id")
    private Integer companyId;

    @ApiModelProperty(value = "逻辑删除")
    private Boolean deleted;


}
